<?php
	include_once("../DAO/taiKhoanDAO.php");
	include_once("../DTO/taiKhoanDTO.php");
	
	class TaiKhoanBUS
	{
		var $taiKhoanDAO;
		function __construct()
		{
			return $this->taiKhoanDAO = new TaiKhoanDAO();
		}
		
		public function load_All()
		{
			return $this->taiKhoanDAO->load_All();
		}
		public function load_One($idTaiKhoan)
		{
			return $this->taiKhoanDAO->load_One($idTaiKhoan);
		}
		
		public function kiemTraTaiKhoan()
		{
			return $this->taiKhoanDAO->kiemTraTaiKhoan();
		}
		
		public function themTaiKhoan()
		{
			return $this->taiKhoanDAO->themTaiKhoan();
		}
		
		public function xoaTaiKhoan()
		{
			return $this->taiKhoanDAO->xoaTaiKhoan();
		}
		
		public function capNhatTaiKhoan()
		{
			return $this->taiKhoanDAO->capNhatTaiKhoan();
		}
		
		public function capNhatMatKhau()
		{
			return $this->taiKhoanDAO->capNhatMatKhau();
		}
		
		public function capNhatLoaiTK()
		{
			return $this->taiKhoanDAO->capNhatLoaiTK();
		}
		
		/*public function capNhatMatKhau()
		{
			return $this->taiKhoanDAO->capNhatMatKhau();
		}*/
		
		public function timTaiKhoan()
		{
			return $this->taiKhoanDAO->timTaiKhoan();
		}
		
		public function xuLyDangNhap()
		{
			return $this->taiKhoanDAO->xuLyDangNhap();
		}
		
		public function taoSessionUser()
		{
			return $this->taiKhoanDAO->taoSessionUser();
		}
		
		public function layTenDangNhap()
		{
			return $this->taiKhoanDAO->layTenDangNhap();
		}
		
		public function dangXuat()
		{
			return $this->taiKhoanDAO->dangXuat();
		}	
	}
?>
